<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	if (request.getParameter("page") == null) {
%>
 <jsp:include page="main.jsp"></jsp:include>

<%
	} else if ("main".equals(request.getParameter("page"))) {
%>
<jsp:include page="main.jsp"></jsp:include>
<%
	} else if ("messages".equals(request.getParameter("page"))) {
%>
   <jsp:include page="messages.jsp"></jsp:include>
<%
	}
	else if ("events".equals(request.getParameter("page"))) {
		%>
		   <jsp:include page="events.jsp"></jsp:include>
		<%
			}

	else if ("users".equals(request.getParameter("page"))) {
		%>
		   <jsp:include page="users.jsp"></jsp:include>
		<%
			}


	else if ("games".equals(request.getParameter("page"))) {
%>

<jsp:include page="games.jsp"></jsp:include>

<%
	}
	else if ("reservations".equals(request.getParameter("page"))) {
		%>
		   <jsp:include page="reservations.jsp"></jsp:include>
		<%
			}

	else if ("settings".equals(request.getParameter("page"))) {
		%>
		   <jsp:include page="settings.jsp"></jsp:include>
		<%
			}
	
	else {
%>
     <jsp:include page="main.jsp"></jsp:include>
<%
	}
%>